package com.my.design.stragey;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

public class Context {


    private Stragey stragey;

    public Context(Stragey stragey) {
        this.stragey = stragey;
    }

    public double  calculate() {
        return stragey.calculate(1);
    }
}
